import request from '@/utils/request';

export default {
  login(params) {
    return request({
      url: '/login/doLogin',
      method: 'post',
      data: params
    });
  },
  updatePwd(params) {
    return request({
      url: '/login/updatePwd',
      method: 'post',
      data: params
    });
  }
};
